package com.gongzhiyun.springboot3test.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("tb_files")
public class TbFiles implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @TableField(insertStrategy = FieldStrategy.NEVER,updateStrategy = FieldStrategy.NEVER)
    private Integer id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Integer userId;
    private String fileName;
    private Long fileSize;
    private String contentType;
}
